#include <iostream>
#include <QApplication>
#include <QDir>
#include "CPF/CPFLauncher.h"

int main(int argc,char** argv)
{
    QApplication app(argc, argv);

    QDir::setCurrent(QCoreApplication::applicationDirPath());
    CPFLauncher::instance()->load("TestPlugin");

    CPFLauncher::instance()->unload("TestPlugin");

    CPFLauncher::instance()->load("TestPlugin1");

    CPFLauncher::instance()->unload("TestPlugin1");

    return app.exec();
}